package com.itheima.htmo_01.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.htmo_01.dto.RegisterUserDTO;
import com.itheima.htmo_01.pojo.User;

public interface UserService extends IService<User> {
//    根据用户名查询用户
    User findByUserName(String username);

//注册
    void register(RegisterUserDTO registerUserDTO);

//    更新
    void update(User user);
}
